package cn.fourhundredandeighteen.view.Component;

import javax.swing.*;
import java.awt.*;

// 错误页面
public class ErrorView extends JPanel {

    public ErrorView() {
        JLabel jLabel = new JLabel("页面加载错误！");
        jLabel.setForeground(Color.red);
        jLabel.setFont(new Font(null, Font.PLAIN, 24));
        this.add(jLabel);
    }

}
